package jp.dodododo.aop.intercept;

import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Method;

import jp.dodododo.aop.annotation.Enhance;

import org.aopalliance.intercept.MethodInvocation;

@Enhance(false)
public abstract class AbstractMethodInvocation extends AbstractInvocation implements MethodInvocation {

	public AbstractMethodInvocation(Object target, Class<?> targetClass, AccessibleObject staticPart, Object... arguments) {
		super(target, targetClass, staticPart, arguments);
	}

	public Method getMethod() {
		return (Method) getStaticPart();
	}

}
